//package com.jackrain.clouddata.oms.lts;
//
//import com.github.ltsopensource.jobclient.JobClient;
//import com.github.ltsopensource.spring.JobClientFactoryBean;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * Created by nathan on 2016/9/8.
// */
//@Slf4j
//@Configuration
//public class JobClientConfig {
//
//    @Bean(name = "jobClient")
//    public JobClient getJobClient() throws Exception {
//        JobClientFactoryBean factoryBean = new JobClientFactoryBean();
//        factoryBean.setLocations("config/lts.properties");
//        factoryBean.afterPropertiesSet();
//        factoryBean.start();
//        return factoryBean.getObject();
//    }
//}
